package com.hospital.insurancepeople.module.controller.inputJson;

import lombok.Data;

@Data
public class InsurDataRes extends InsurData {
    /**
     * 响应状态码 成功固定返回0，注意不代表业务成功，业务状态已内层ret_code为准
     */
    private int code;
    /**
     * 响应异常信息
     */
    private String message;

    /**
     * 响应标识
     */
    private boolean success;

    /**
     * 类型
     */
    private String type;

    public InsurDataRes(boolean success, String appId) {
        this.success = success;
        this.setAppId(appId);
        this.setCode(0);
        this.setEncType("SM4");
        this.setSignType("SM2");
    }
}
